package com.cupk.carManageMaster.common.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserPermissionMapper {

    @Select("select name from jurisdiction left join user on user.jurisdiction_id = jurisdiction.id where user.id = #{id}")
    String selectPermsByUserId(Integer id);
}
